package com.atguigu.gulimail.product.service;

import com.atguigu.gulimail.product.vo.AttrResponVo;
import com.atguigu.gulimail.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.product.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性
 *
 * @author xujiale
 * @email 2519970360@qq.com
 * @date 2023-10-24 15:34:13
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attr);

    PageUtils queryBaseListPage(Map<String, Object> params,Long cateLogId);

    AttrResponVo getAttrInfo(Long attrId);

    void updateAttr(AttrResponVo attrResponVo);

    PageUtils getNoRelation(Map<String, Object> param, Long attrgroupId);

    PageUtils queryBaseAttrPage(Map<String, Object> params, Long catelogId, String type);
}

